home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Adobe Graphics & Publishing SDK 1996 December
/
Adobe Graphics & Publishing SDK 1996 December.iso
/
mac
/
Photoshop 4.0 SDK r2 Mac
/
Examples
/
Selection
/
Selectorama
/
Selectorama.derez
< prev
next >
Wrap
Text File
|
1996-08-07
|
2KB
|
57 lines
#--- Selectorama.DeRez script -------------------------------------------------
# Copyright 1996. Adobe Systems, Inc.. All rights reserved.
#
# This script is used to compile the PiPL, PIMI, and other resources
# for this example plug-in. Use this script if you are using ToolServer
# with the Metrowerks CodeWarrior compiler. If you are using MPW, you
# should use the Makefile instead.
#
# To use this script:
# -------------------
# (1) In CodeWarrior, start ToolServer (under the Tools menu). If ToolServer
# is not installed, refer to the release notes on the CodeWarrior CD.
#
# (2) Open this file in CodeWarrior.
#
# (3) Set the first variable, PIRoot, to point to the root folder for your
# Photoshop SDK files. Save any changes.
#
# (4) Choose "Execute as a Script" under the ToolServer menu icon.
#----------------------------------------------------------------------------
Set Root "Acehd2:!CodeWork:!InProgress"
Set Headers "{Root}:Examples:Common:Headers.h"
Set RezFiles "{Root}:Examples:Common:Rez-files.r"
Set Source "{Root}:Examples:Selection:Selectorama:"
Set SourceName "Selectorama"
Echo
Echo
Echo
Echo
Echo
Echo
Echo
Echo
Echo
Echo
Echo
Echo
Echo
Echo
Echo
Echo
Echo
Echo
Echo "Executing {Sourcename} DeRez script..."
# -only 'Path' -only 'DLOG' -only 'DITL' ╢ # -- add to limit derez to just those types
# {RezFiles}":PIGeneral.r" ╢
DeRez "{Source}{SourceName}-derez.rsrc" ╢
"{RezFiles}:PIGeneral.r" ╢
"{RIncludes}Types.r" ╢
"{RIncludes}SysTypes.r" ╢
-d Macintosh=1 -d MSWindows=0 > {Source}{SourceName}"-derez.r"
Echo "{SourceName} DeRez done."